@dile/lib 0.1.5 → 0.1.6

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": "@dile/lib",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Common App libraries, mixins and helpers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,5 +27,5 @@
27
27
  "@reduxjs/toolkit": "^2.5.1",
28
28
  "lit": "^2.7.0 || ^3.0.0"
29
29
  },
30
- "gitHead": "0248f3f2fef5a205e34ed5731ab65924a0a63b6d"
30
+ "gitHead": "110749bc9bfd11f72d79e841758dbcd759edcde2"
31
31
  }
@@ -5,7 +5,6 @@ export const DileAppRouter = (superclass) => class extends superclass {
5
5
  static get properties() {
6
6
  return {
7
7
  _routes: { type: Object },
8
- _router: { type: Object },
9
8
  };
10
9
  }
11
10
 
@@ -19,7 +18,7 @@ export const DileAppRouter = (superclass) => class extends superclass {
19
18
  null,
20
19
  e.detail.url || 'App',
21
20
  e.detail.url);
22
- setTimeout(() => this._router.goto(e.detail.url), 100);
21
+ setTimeout(() => this._routes.goto(e.detail.url), 100);
23
22
  }
24
23
 
25
24
  connectedCallback() {
@@ -33,8 +32,8 @@ export const DileAppRouter = (superclass) => class extends superclass {
33
32
  }
34
33
 
35
34
  createRoutes(routes) {
36
- this._router = new Router(this, routes);
35
+ new Router(this, []);
37
36
 
38
- //this._routes = new Routes(this, routes);
37
+ this._routes = new Routes(this, routes);
39
38
  }
40
39
  }