cradova 3.4.0 → 3.4.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -154,7 +154,7 @@ class Signal {
154
154
  }
155
155
  subscribe(eventName, comp) {
156
156
  if (comp instanceof Comp) {
157
- if (this.subs[eventName].find((cmp) => cmp.id === comp.id)) {
157
+ if (this.subs[eventName]?.find((cmp) => cmp.id === comp.id)) {
158
158
  return;
159
159
  }
160
160
  if (!this.subs[eventName]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cradova",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Build Powerful ⚡ Web Apps with Ease",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",