@kodaris/krubble-app-components 1.0.138 → 1.0.140

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.
@@ -12251,10 +12251,11 @@
12251
12251
  const constructor = customElements.get(match.route.component);
12252
12252
  if (constructor && typeof constructor.resolve === 'function') {
12253
12253
  return Promise.resolve(constructor.resolve(KRRouter.getParams())).then(data => {
12254
- el.routeSnapshot = {
12254
+ const routeSnapshot = Object.freeze({
12255
12255
  params: match.params,
12256
12256
  data,
12257
- };
12257
+ });
12258
+ el.routeSnapshot = routeSnapshot;
12258
12259
  return el;
12259
12260
  });
12260
12261
  }