@vyckr/tachyon 1.1.1 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyckr/tachyon",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "author": "Chidelma",
5
5
  "repository": {
6
6
  "type": "git",
package/src/client/yon.ts CHANGED
@@ -274,7 +274,7 @@ export default class Yon {
274
274
 
275
275
  const { html, script, style } = Yon.extractComponents(data)
276
276
 
277
- await Yon.addToStatix(html, script, style, `${route}.${script.lang || 'js'}`, 'pages')
277
+ await Yon.addToStatix(html, script, style, `${route}.${script?.lang || 'js'}`, 'pages')
278
278
  }
279
279
  }
280
280