Skip to content

Commit

Permalink
chore: release client 0.8.2 (#43)
Browse files Browse the repository at this point in the history
* chore: client release 0.8.2

* fix: domain check on proxy
  • Loading branch information
drochetti authored Jan 16, 2024
1 parent 07f1b12 commit 6cb27c0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-express-app/.env.example
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion apps/demo-nextjs-app-router/.env.example
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion apps/demo-nextjs-page-router/.env.example
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion libs/client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion libs/proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fal-ai/serverless-proxy",
"version": "0.7.0",
"version": "0.7.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion libs/proxy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6cb27c0

Please sign in to comment.