qcobjects 2.5.101-ts → 2.5.104-beta

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.101-ts
1
+ 2.5.104-beta
package/build/Class.js CHANGED
@@ -217,7 +217,7 @@ const Class = (name, _type, _definition) => {
217
217
  }
218
218
  hierarchy() {
219
219
  const __instance__ = this;
220
- return this.getClass().hierarchy(__instance__);
220
+ return this.getClass()?.hierarchy(__instance__);
221
221
  }
222
222
  append(_child) {
223
223
  const child = _child || this.body;
@@ -141,7 +141,7 @@ class InheritClass {
141
141
  }
142
142
  hierarchy() {
143
143
  const __instance__ = this;
144
- return this.getClass().hierarchy(__instance__);
144
+ return this.constructor.hierarchy(__instance__);
145
145
  }
146
146
  append(_child) {
147
147
  const child = _child || this.body;
package/build-esbuild.js CHANGED
@@ -4,7 +4,7 @@ const alias = require("esbuild-plugin-alias");
4
4
  const path = require("path");
5
5
 
6
6
  const baseSettings = {
7
- entryPoints: ["src/*.ts", "src/*.mts", "src/*.cts"], // Your entry file
7
+ entryPoints: ["src/QCObjects.ts"], // Your entry file
8
8
  bundle: true,
9
9
  outdir: "public/cjs", // Output dir
10
10
  format: "cjs", // or "esm" depending on your module system
@@ -24,7 +24,7 @@ const baseSettings = {
24
24
  };
25
25
 
26
26
  const cjsSettings = {...baseSettings,
27
- entryPoints: ["src/*.cts"], // Your entry file
27
+ entryPoints: ["src/QCObjects.ts"], // Your entry file
28
28
  outdir: "public/cjs", // Output dir
29
29
  format: "cjs", // or "esm" depending on your module system
30
30
  platform: "node", // or "browser" depending on your target environment
@@ -35,10 +35,10 @@ const cjsSettings = {...baseSettings,
35
35
  };
36
36
 
37
37
  const esmSettings = {...baseSettings,
38
- entryPoints: ["src/*.mts"], // Your entry file
38
+ entryPoints: ["src/QCObjects.ts"], // Your entry file
39
39
  outdir: "public/esm", // Output dir
40
40
  format: "esm", // or "esm" depending on your module system
41
- platform: "neutral", // or "browser" depending on your target environment
41
+ platform: "browser", // or "browser" depending on your target environment
42
42
  outExtension: {
43
43
  ".js":".mjs"
44
44
  }
@@ -46,7 +46,8 @@ const esmSettings = {...baseSettings,
46
46
  };
47
47
 
48
48
  const browserSettings = {...baseSettings,
49
- entryPoints: ["src/*.mts"], // Your entry file
49
+ entryPoints: ["src/QCObjects.ts"], // Your entry file
50
+ bundle: true,
50
51
  outdir: "public/browser", // Output dir
51
52
  format: "iife", // or "esm" depending on your module system
52
53
  platform: "browser", // or "browser" depending on your target environment
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "qcobjects",
3
- "version": "2.5.101-ts",
3
+ "version": "2.5.104-beta",
4
4
  "description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
5
- "main": "public/cjs/index.cjs",
6
- "module": "public/esm/index.mjs",
7
- "browser": "public/browser/index.js",
5
+ "main": "public/cjs/QCObjects.cjs",
6
+ "module": "public/esm/QCObjects.mjs",
7
+ "browser": "public/browser/QCObjects.js",
8
8
  "type": "commonjs",
9
9
  "types": "build/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "require": "./public/cjs/index.cjs",
13
- "import": "./public/esm/index.mjs"
12
+ "require": "./public/cjs/QCObjects.cjs",
13
+ "import": "./public/esm/QCObjects.mjs"
14
14
  },
15
15
  "./types/*": "./types/*",
16
16
  "./package.json": "./package.json"
@@ -636,7 +636,7 @@ var global = (() => {
636
636
  }
637
637
  hierarchy() {
638
638
  const __instance__ = this;
639
- return this.getClass().hierarchy(__instance__);
639
+ return this.constructor.hierarchy(__instance__);
640
640
  }
641
641
  append(_child) {
642
642
  const child = _child || this.body;
@@ -954,7 +954,7 @@ var global = (() => {
954
954
  }
955
955
  hierarchy() {
956
956
  const __instance__ = this;
957
- return this.getClass().hierarchy(__instance__);
957
+ return this.getClass()?.hierarchy(__instance__);
958
958
  }
959
959
  append(_child) {
960
960
  const child = _child || this.body;
@@ -4968,12 +4968,6 @@ var global = (() => {
4968
4968
  }
4969
4969
  });
4970
4970
 
4971
- // src/index.mts
4972
- var src_exports = {};
4973
- __export(src_exports, {
4974
- default: () => src_default
4975
- });
4976
-
4977
4971
  // src/QCObjects.ts
4978
4972
  var QCObjects_exports = {};
4979
4973
  __export(QCObjects_exports, {
@@ -6494,9 +6488,6 @@ var global = (() => {
6494
6488
  init_top();
6495
6489
  init_make_global();
6496
6490
  var QCObjects = __toESM(require_MainProcess());
6497
-
6498
- // src/index.mts
6499
- var src_default = QCObjects_exports;
6500
- return __toCommonJS(src_exports);
6491
+ return __toCommonJS(QCObjects_exports);
6501
6492
  })();
6502
- //# sourceMappingURL=index.js.map
6493
+ //# sourceMappingURL=QCObjects.js.map