From a6624f4487934a727197afbd8202ed560212014c Mon Sep 17 00:00:00 2001 From: Daniel Rochetti Date: Tue, 21 Nov 2023 13:26:51 -0800 Subject: [PATCH] fix: serverless-client doc references --- README.md | 2 +- libs/client/README.md | 2 +- libs/proxy/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25d3e7c..0309562 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ For example, if you are using Next.js, you can: ``` 3. Configure the client to use the proxy: ```ts - import * as fal from '@fal-ai/serverless-js'; + import * as fal from '@fal-ai/serverless-client'; fal.config({ requestMiddleware: fal.withProxy({ targetUrl: '/api/fal/proxy', diff --git a/libs/client/README.md b/libs/client/README.md index 503aacc..723222d 100644 --- a/libs/client/README.md +++ b/libs/client/README.md @@ -11,7 +11,7 @@ The `fal.ai` JavaScript Client Library provides a seamless way to interact with Before diving into the client-specific features, ensure you've set up your credentials: ```ts -import * as fal from '@fal-ai/serverless-js'; +import * as fal from '@fal-ai/serverless-client'; fal.config({ // Can also be auto-configured using environment variables: diff --git a/libs/proxy/README.md b/libs/proxy/README.md index e4ce8be..c626c3c 100644 --- a/libs/proxy/README.md +++ b/libs/proxy/README.md @@ -65,7 +65,7 @@ For Express applications: Once you've set up the proxy, you can configure the client to use it: ```ts -import * as fal from '@fal-ai/serverless-js'; +import * as fal from '@fal-ai/serverless-client'; fal.config({ requestMiddleware: fal.withProxy({