propro-common-components 0.1.274 → 0.1.275

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1,9 @@
1
- export default function (endpoint: string): string;
1
+ /**
2
+ * Constructs the full endpoint URL.
3
+ * If the endpoint is an absolute URL, it returns it as-is.
4
+ * Otherwise, it appends the endpoint to the baseURL.
5
+ *
6
+ * @param endpoint - The API endpoint path or full URL.
7
+ * @returns The full URL to be used for the API request.
8
+ */
9
+ export default function getTauriEndpoint(endpoint: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.1.274",
3
+ "version": "0.1.275",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",