pawa-ssr 1.2.1 → 1.2.2

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -290,7 +290,7 @@ const component=async (el)=>{
290
290
  serialize:{},
291
291
  fromSerialized:{}
292
292
  }
293
- Object.assign(appContext.transportContext, oldAppContext.transportContext)
293
+ Object.assign(appContext.transportContext, oldAppContext?.transportContext || {})
294
294
  Array.from(slot.children).forEach(prop =>{
295
295
  if (prop.getAttribute('prop')) {
296
296
  slots[prop.getAttribute('prop')]=()=>prop.innerHTML
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawa-ssr",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type":"module",
5
5
  "description": "pawajs ssr libary",
6
6
  "main": "index.js",