pawajs 1.4.29 → 1.4.30

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/CHANGELOG.md CHANGED
@@ -13,4 +13,5 @@ CHANGELOG.md
13
13
  + version 1.4.24 - add HMR mapping
14
14
  + version 1.4.26 - fixed key getcomment id
15
15
  + version 1.4.27 - fixed __pawaDev Tools,
16
- + version 1.4.28 - fixed pawaElement checkStaticsContext
16
+ + version 1.4.28 - fixed pawaElement checkStaticsContext
17
+ + version 1.4.30 - removed console warn from useContext
package/index.js CHANGED
@@ -428,10 +428,7 @@ export const useContext = (context) => {
428
428
  if (stateContext?._transportContext[context.id]) {
429
429
  const contexts = stateContext._transportContext[context.id]
430
430
  return contexts
431
- } else {
432
- console.warn('this component not in the context tree')
433
- }
434
-
431
+ }
435
432
  } else {
436
433
  return serverInstance.useContext?.(context)
437
434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "1.4.29",
3
+ "version": "1.4.30",
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",