pawajs 1.5.2 → 1.5.4

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/index.js CHANGED
@@ -336,7 +336,7 @@ RegisterComponent.lazy=(...args)=>{
336
336
 
337
337
  const processName =(compName) => {
338
338
  if (__pawaDev.tool && isServer()) {
339
- components.delete(compName.toUppercase())
339
+ components.delete(compName.toUpperCase())
340
340
  }
341
341
  if (components.has(compName.toUpperCase()) || lazyComponents.has(compName.toUpperCase()) && !__pawaDev.tool) return;
342
342
  if (typeof compName === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "type":"module",
5
5
  "description": "pawajs library (reactive web runtime) for easily building web ui, enhancing html element, micro frontend etc ",
6
6
  "main": "index.js",
package/pawaElement.js CHANGED
@@ -51,7 +51,7 @@ export class PawaElement {
51
51
  return Array.from(this._el.children)
52
52
  }
53
53
  checkLazy(){
54
- if (lazyComponents.has(splitAndAdd(this._el.tagName))) {
54
+ if (lazyComponents.has(splitAndAdd(this._el.tagName)) && !components.has(splitAndAdd(this._el.tagName))) {
55
55
  this._lazy=true
56
56
  if (!lazyComponentElement.has(splitAndAdd(this._el.tagName))) {
57
57
  createIntersectionObserver(this._el)