pawa-ssr 1.3.6 → 1.3.7

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 +3 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -975,6 +975,8 @@ export const render =async (el, contexts = {},stream) => {
975
975
  for(const attr of attributes){
976
976
  if (directives[attr.name]) {
977
977
  await directives[attr.name](el,attr,stream)
978
+ }else if(attr.value.includes('@{')){
979
+ await attributeHandler(el,attr)
978
980
  }else if (attr.name.startsWith('state-')) {
979
981
  directives['state-'](el,attr)
980
982
  }
@@ -1004,9 +1006,7 @@ export const render =async (el, contexts = {},stream) => {
1004
1006
  }catch(error){
1005
1007
  console.warn(error.message,error.stack)
1006
1008
  }
1007
- }else if(attr.value.includes('@{')){
1008
- await attributeHandler(el,attr)
1009
- }
1009
+ }
1010
1010
  }
1011
1011
 
1012
1012
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawa-ssr",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "type":"module",
5
5
  "description": "pawajs ssr libary",
6
6
  "main": "index.js",
@@ -25,6 +25,6 @@
25
25
  "homepage": "https://github.com/Allisboy/pawajs-ssr#readme",
26
26
  "dependencies": {
27
27
  "linkedom": "^0.18.11",
28
- "pawajs": "^1.4.25"
28
+ "pawajs": "^1.4.28"
29
29
  }
30
30
  }