diff --git a/README.md b/README.md index 6c3faac..3222388 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ This client library is crafted as a lightweight layer atop platform standards li 3. Retrieve your function id and execute it: ```ts - const result = await fal.run('my-function-id'); + const result = await fal.run('user/app-alias'); ``` The result's type is contingent upon your Python function's output. Types in Python are mapped to their corresponding types in JavaScript. diff --git a/apps/demo-express-app/.env.example b/apps/demo-express-app/.env.example index aee3d34..d5dbd3a 100644 --- a/apps/demo-express-app/.env.example +++ b/apps/demo-express-app/.env.example @@ -1,3 +1,3 @@ # Rename this file to .env.local and add your fal credentials # Visit https://fal.ai to get started -FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"; +FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET" diff --git a/apps/demo-nextjs-app-router/.env.example b/apps/demo-nextjs-app-router/.env.example index aee3d34..d5dbd3a 100644 --- a/apps/demo-nextjs-app-router/.env.example +++ b/apps/demo-nextjs-app-router/.env.example @@ -1,3 +1,3 @@ # Rename this file to .env.local and add your fal credentials # Visit https://fal.ai to get started -FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"; +FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET" diff --git a/apps/demo-nextjs-page-router/.env.example b/apps/demo-nextjs-page-router/.env.example index aee3d34..d5dbd3a 100644 --- a/apps/demo-nextjs-page-router/.env.example +++ b/apps/demo-nextjs-page-router/.env.example @@ -1,3 +1,3 @@ # Rename this file to .env.local and add your fal credentials # Visit https://fal.ai to get started -FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"; +FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET" diff --git a/libs/client/package.json b/libs/client/package.json index 1b5027b..fcafede 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.8.0", + "version": "0.8.2", "license": "MIT", "repository": { "type": "git", diff --git a/libs/proxy/package.json b/libs/proxy/package.json index eaf6636..b0b0174 100644 --- a/libs/proxy/package.json +++ b/libs/proxy/package.json @@ -1,6 +1,6 @@ { "name": "@fal-ai/serverless-proxy", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "repository": { "type": "git", diff --git a/libs/proxy/src/index.ts b/libs/proxy/src/index.ts index 351d8c3..dede16d 100644 --- a/libs/proxy/src/index.ts +++ b/libs/proxy/src/index.ts @@ -9,7 +9,7 @@ const FAL_KEY_SECRET = export type HeaderValue = string | string[] | undefined | null; -const FAL_URL_REG_EXP = /(fal\.(run|ai))$/; +const FAL_URL_REG_EXP = /(\.fal\.(run|ai))$/; /** * The proxy behavior that is passed to the proxy handler. This is a subset of