@devwareng/vanilla-ts 1.7.8 → 1.7.9

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/dist/index.cjs CHANGED
@@ -27,7 +27,7 @@ export const routeTree = [
27
27
  ${_}
28
28
  ]
29
29
 
30
- export function createRouter(DOM: HTMLElement) {
30
+ export async function createRouter(DOM: HTMLElement) {
31
31
  function matchRoute(path: string) {
32
32
  for (const route of routeTree) {
33
33
  const keys: string[] = []
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ export const routeTree = [
27
27
  ${h}
28
28
  ]
29
29
 
30
- export function createRouter(DOM: HTMLElement) {
30
+ export async function createRouter(DOM: HTMLElement) {
31
31
  function matchRoute(path: string) {
32
32
  for (const route of routeTree) {
33
33
  const keys: string[] = []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devwareng/vanilla-ts",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "Framework-less TypeScript hooks for SPA development.",
5
5
  "author": "Waren Arapoc Gador",
6
6
  "license": "MIT",