@luminix/core 0.3.0 → 0.3.1
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/dist/core.js +2 -2
- package/package.json +2 -2
- package/types/contracts/Builder.d.ts +0 -1
package/dist/core.js
CHANGED
|
@@ -121,7 +121,7 @@ class xe extends A {
|
|
|
121
121
|
constructor(e, i, s = {}) {
|
|
122
122
|
super();
|
|
123
123
|
p(this, "bag");
|
|
124
|
-
this.services = e, this.abstract = i, this.
|
|
124
|
+
this.services = e, this.abstract = i, this.bag = new _(s), this.bag.on("change", () => {
|
|
125
125
|
this.emit("change", {
|
|
126
126
|
data: this.bag,
|
|
127
127
|
source: this
|
|
@@ -939,7 +939,7 @@ function _e(o, t, e) {
|
|
|
939
939
|
get: (l, u) => {
|
|
940
940
|
if (u === "__isModel")
|
|
941
941
|
return !0;
|
|
942
|
-
if (Reflect.has(l, u))
|
|
942
|
+
if (Reflect.has(l, u) || typeof u != "string")
|
|
943
943
|
return Reflect.get(l, u);
|
|
944
944
|
if (Object.keys(l.attributes).includes(u))
|
|
945
945
|
return l.getAttribute(u);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luminix/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "> Projeto em desenvolvimento",
|
|
5
5
|
"module": "dist/core.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"vite-plugin-dts": "^4.0.0-beta.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@luminix/support": "^0.4.
|
|
33
|
+
"@luminix/support": "^0.4.3"
|
|
34
34
|
}
|
|
35
35
|
}
|