minimal-piral 0.15.0-beta.4798 → 0.15.0-beta.4803

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.
@@ -4452,7 +4452,7 @@ function createNavigation() {
4452
4452
  },
4453
4453
  listen: function listen(listener) {
4454
4454
  var handler = function handler(e) {
4455
- return listener(enhance(e.detail, _nav.action));
4455
+ return listener(enhance(e.detail.location, _nav.action));
4456
4456
  };
4457
4457
 
4458
4458
  window.addEventListener('piral-navigate', handler);
@@ -4460,13 +4460,12 @@ function createNavigation() {
4460
4460
  window.removeEventListener('piral-navigate', handler);
4461
4461
  };
4462
4462
  },
4463
+ router: {
4464
+ get history() {
4465
+ return _nav;
4466
+ }
4463
4467
 
4464
- get router() {
4465
- return {
4466
- history: _nav
4467
- };
4468
4468
  }
4469
-
4470
4469
  };
4471
4470
  }
4472
4471
 
@@ -6645,12 +6644,12 @@ function installPiralDebug(options) {
6645
6644
  debug: debugApiVersion,
6646
6645
  instance: {
6647
6646
  name: "minimal-piral",
6648
- version: "0.15.0-beta.4798",
6647
+ version: "0.15.0-beta.4803",
6649
6648
  dependencies: "tslib,react,react-dom,react-router,react-router-dom"
6650
6649
  },
6651
6650
  build: {
6652
- date: "2022-11-01T21:18:25.912Z",
6653
- cli: "0.15.0-beta.4798",
6651
+ date: "2022-11-05T02:14:17.254Z",
6652
+ cli: "0.15.0-beta.4803",
6654
6653
  compat: "0.15"
6655
6654
  }
6656
6655
  };
@@ -45590,4 +45589,4 @@ var instance = (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.createInstance)({
45590
45589
 
45591
45590
  /******/ })()
45592
45591
  ;
45593
- //# sourceMappingURL=index.c28a4b.js.map
45592
+ //# sourceMappingURL=index.7ef114.js.map