diff --git a/libs/client/package.json b/libs/client/package.json
index e372661..4c5ed4e 100644
--- a/libs/client/package.json
+++ b/libs/client/package.json
@@ -1,7 +1,7 @@
{
"name": "@fal-ai/serverless-client",
"description": "The fal serverless JS/TS client",
- "version": "0.3.2",
+ "version": "0.4.0",
"license": "MIT",
"repository": {
"type": "git",
diff --git a/libs/client/src/function.ts b/libs/client/src/function.ts
index dca7c25..72ac996 100644
--- a/libs/client/src/function.ts
+++ b/libs/client/src/function.ts
@@ -9,7 +9,7 @@ import { isUUIDv4, isValidUrl } from './utils';
*/
type RunOptions = {
/**
- * The path to the function, if any. Defaults to `/`.
+ * The path to the function, if any. Defaults to ``.
*/
readonly path?: string;
@@ -126,19 +126,24 @@ export async function subscribe(
if (options.onEnqueue) {
options.onEnqueue(requestId);
}
+ const path = options.path ?? '';
return new Promise