pawa-ssr 1.3.14 → 1.3.15

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/package.json +1 -1
  2. package/pawaElement.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawa-ssr",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "type":"module",
5
5
  "description": "pawajs ssr libary",
6
6
  "main": "index.js",
package/pawaElement.js CHANGED
@@ -195,6 +195,7 @@ class PawaElement {
195
195
  }else{
196
196
  name=attr.name
197
197
  }
198
+ this._hydrateProps[name]=attr.value
198
199
  const setProps=()=>{
199
200
  delete this._restProps[name]
200
201
  let hydatename
@@ -205,7 +206,6 @@ class PawaElement {
205
206
  }else{
206
207
  hydatename=':'+name
207
208
  }
208
- this._hydrateProps[name]=attr.value
209
209
  let value=attr.value
210
210
  if (value.includes('@{')) {
211
211
  const regex = /@{([^}]*)}/g;