@dodona/papyros 0.3.2 → 0.3.4

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.
@@ -39,4 +39,10 @@ export declare function removeSelection(selectId: string): void;
39
39
  */
40
40
  export declare function parseData(data: string, contentType?: string): any;
41
41
  export declare function downloadResults(data: string, filename: string): void;
42
+ /**
43
+ * Obtain the url of the current page without hashes, identifiers, query params, ...
44
+ * @param {boolean} endingSlash Whether the url should end in a slash
45
+ * @return {string} The current url
46
+ */
47
+ export declare function cleanCurrentUrl(endingSlash?: boolean): string;
42
48
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodona/papyros",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "private": false,
5
5
  "homepage": ".",
6
6
  "devDependencies": {