sample-cross-fx 0.14.31 → 0.14.32

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.
@@ -54630,6 +54630,16 @@ function project(component, destination, options) {
54630
54630
  destination.appendChild(component);
54631
54631
  }
54632
54632
 
54633
+ function makeUrl(href) {
54634
+ const origin = document.location.origin;
54635
+
54636
+ if (!href.startsWith(origin)) {
54637
+ return `${origin}${href}`;
54638
+ }
54639
+
54640
+ return href;
54641
+ }
54642
+
54633
54643
  function createConverter(lazy) {
54634
54644
  const boot = (0,_interop__WEBPACK_IMPORTED_MODULE_0__.createBootLoader)(_infra_codegen__WEBPACK_IMPORTED_MODULE_1__["default"]);
54635
54645
  let loader = !lazy && boot();
@@ -54655,7 +54665,8 @@ function createConverter(lazy) {
54655
54665
  // POP is already handled by .NET
54656
54666
  if (action !== 'POP') {
54657
54667
  const href = nav.createHref(location);
54658
- (0,_interop__WEBPACK_IMPORTED_MODULE_0__.callNotifyLocationChanged)(href, action === 'REPLACE');
54668
+ const url = makeUrl(href);
54669
+ (0,_interop__WEBPACK_IMPORTED_MODULE_0__.callNotifyLocationChanged)(url, action === 'REPLACE');
54659
54670
  }
54660
54671
  });
54661
54672
  }
@@ -60113,7 +60124,7 @@ function createInstance(config = {}) {
60113
60124
  const createApi = apiFactory(context, usedPlugins);
60114
60125
  const root = createApi({
60115
60126
  name: 'root',
60116
- version: "0.14.31" || 0,
60127
+ version: "0.14.32" || 0,
60117
60128
  spec: ''
60118
60129
  });
60119
60130
  const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
@@ -62134,11 +62145,11 @@ function installPiralDebug(options) {
62134
62145
  debug: debugApiVersion,
62135
62146
  instance: {
62136
62147
  name: "sample-cross-fx",
62137
- version: "0.14.31",
62148
+ version: "0.14.32",
62138
62149
  dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,piral-ng/common,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
62139
62150
  },
62140
62151
  build: {
62141
- date: "2022-09-07T23:56:25.055Z",
62152
+ date: "2022-09-21T23:10:24.161Z",
62142
62153
  cli: "0.14.31",
62143
62154
  compat: "0.14"
62144
62155
  },
@@ -205998,4 +206009,4 @@ const app = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral_
205998
206009
 
205999
206010
  /******/ })()
206000
206011
  ;
206001
- //# sourceMappingURL=index.e5d813.js.map
206012
+ //# sourceMappingURL=index.4c48c8.js.map