pawajs 2.0.10 → 2.1.0

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.
@@ -11,12 +11,8 @@ function isPawaState(obj) {
11
11
  )
12
12
  }
13
13
  function restorePawaStateFromContext(oldCtx, newCtx) {
14
-
15
14
  if (!oldCtx || !newCtx) return
16
-
17
15
  for (const key of Object.keys(newCtx)) {
18
- console.log(key,'inside preserverState');
19
-
20
16
  const oldVal = oldCtx[key]
21
17
  const newVal = newCtx[key]
22
18
  if (isPawaState(oldVal) && isPawaState(newVal)) {
@@ -28,7 +24,6 @@ function restorePawaStateFromContext(oldCtx, newCtx) {
28
24
  }else if (newVal === null) {
29
25
  newVal.value = oldVal.value
30
26
  }
31
- console.log('is updating',key, newVal,'from',oldVal);
32
27
 
33
28
  }
34
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "2.0.10",
3
+ "version": "2.1.0",
4
4
  "type":"module",
5
5
  "description": "pawajs library (reactive web runtime) for easily building web ui, enhancing html element, micro frontend, spa etc ",
6
6
  "main": "index.js",