sample-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.
@@ -4684,7 +4684,7 @@ function createNavigation() {
4684
4684
  },
4685
4685
  listen: function listen(listener) {
4686
4686
  var handler = function handler(e) {
4687
- return listener(enhance(e.detail, _nav.action));
4687
+ return listener(enhance(e.detail.location, _nav.action));
4688
4688
  };
4689
4689
 
4690
4690
  window.addEventListener('piral-navigate', handler);
@@ -4692,13 +4692,12 @@ function createNavigation() {
4692
4692
  window.removeEventListener('piral-navigate', handler);
4693
4693
  };
4694
4694
  },
4695
+ router: {
4696
+ get history() {
4697
+ return _nav;
4698
+ }
4695
4699
 
4696
- get router() {
4697
- return {
4698
- history: _nav
4699
- };
4700
4700
  }
4701
-
4702
4701
  };
4703
4702
  }
4704
4703
 
@@ -9603,12 +9602,12 @@ function installPiralDebug(options) {
9603
9602
  debug: debugApiVersion,
9604
9603
  instance: {
9605
9604
  name: "sample-piral",
9606
- version: "0.15.0-beta.4798",
9605
+ version: "0.15.0-beta.4803",
9607
9606
  dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
9608
9607
  },
9609
9608
  build: {
9610
- date: "2022-11-01T21:17:00.487Z",
9611
- cli: "0.15.0-beta.4798",
9609
+ date: "2022-11-05T02:14:24.896Z",
9610
+ cli: "0.15.0-beta.4803",
9612
9611
  compat: "0.15"
9613
9612
  }
9614
9613
  };
@@ -66372,4 +66371,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral
66372
66371
 
66373
66372
  /******/ })()
66374
66373
  ;
66375
- //# sourceMappingURL=index.d90ef2.js.map
66374
+ //# sourceMappingURL=index.be5bfb.js.map