@luigi-project/client 2.18.3 → 2.18.4-dev.202412190033

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.
@@ -336,6 +336,15 @@ export declare interface LinkManager {
336
336
  * @returns {boolean} indicating if there is a preserved view you can return to
337
337
  */
338
338
  hasBack: () => boolean;
339
+
340
+ /**
341
+ * Gets the luigi route associated with the current micro frontend.
342
+ * @returns {promise} a promise which resolves to a String value specifying the current luigi route
343
+ * @since NEXTRELEASE
344
+ * @example
345
+ * LuigiClient.linkManager().getCurrentRoute();
346
+ */
347
+ getCurrentRoute: () => Promise<string>;
339
348
  }
340
349
 
341
350
  export declare class LuigiElement extends HTMLElement {
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "micro-frontends",
18
18
  "microfrontends"
19
19
  ],
20
- "version": "2.18.3"
20
+ "version": "2.18.4-dev.202412190033"
21
21
  }