pawajs 2.3.3 → 2.3.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.
@@ -66,17 +66,12 @@ function restorePawaStateFromContext(oldCtx, newCtx,stateContext,oldStateContext
66
66
  for (const key of Object.keys(newCtx)) {
67
67
  const oldVal = oldCtx[key]
68
68
  const newVal = newCtx[key]
69
- if (!isPawaState(oldVal) || !isPawaState(newVal)) continue
70
69
 
71
70
  const initializerChanged =
72
71
  prevInitials !== undefined &&
73
72
  Object.prototype.hasOwnProperty.call(prevInitials, key) &&
74
73
  !sameInitial(prevInitials[key], freshInitials[key])
75
74
 
76
- if (initializerChanged) {
77
- continue
78
- }
79
-
80
75
  if (typeof newVal.value === typeof oldVal.value ) {
81
76
  newVal.value = oldVal.value
82
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
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",