@luigi-project/core-modular 0.0.19-dev.202610151915 → 0.0.19-dev.202610170048

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
@@ -18,5 +18,5 @@
18
18
  "micro-frontends",
19
19
  "microfrontends"
20
20
  ],
21
- "version": "0.0.19-dev.202610151915"
21
+ "version": "0.0.19-dev.202610170048"
22
22
  }
@@ -244,15 +244,19 @@ export declare const RoutingHelpers: {
244
244
  parseParams(paramsString: string): Record<string, string>;
245
245
  getModalParamsFromPath(luigi: Luigi): any;
246
246
  /**
247
- * Strip modal settings that must not be persisted in the URL.
248
- * `nodeParams` are already serialized onto the modal path, and
249
- * `closebtn_data_testid` is a rendering-only detail; neither belongs in the
250
- * bookmarkable `modalParams` query string. Returns a shallow copy; the input
251
- * is left untouched.
247
+ * Returns only the modal settings that may be persisted in the bookmarkable
248
+ * `modalParams` query string. Everything else is dropped so non-bookmarkable
249
+ * settings never leak into the URL:
250
+ * - `nodeParams` are already serialized onto the modal path
251
+ * - `closebtn_data_testid` is a rendering-only detail
252
+ *
253
+ * `keepPrevious` is only kept when truthy (its default/false state is noise).
254
+ * Properties are copied by explicit name (no computed property writes) to
255
+ * avoid remote property injection. Returns a shallow copy; the input is left untouched.
252
256
  * @param {ModalSettings} modalParams modal settings about to be written to the URL
253
- * @returns {ModalSettings} a copy without the non-bookmarkable properties
257
+ * @returns {Partial<ModalSettings>} a copy containing only the bookmarkable properties
254
258
  */
255
- getBookmarkableModalParams(modalParams: ModalSettings): ModalSettings;
259
+ getBookmarkableModalParams(modalParams: ModalSettings): Partial<ModalSettings>;
256
260
  /**
257
261
  * Get the query param separator which is used with hashRouting
258
262
  * Default: