chore: release client 0.8.2 (#43)

* chore: client release 0.8.2

* fix: domain check on proxy
This commit is contained in:
Daniel Rochetti 2024-01-16 09:47:39 -08:00 committed by GitHub
parent 07f1b125f7
commit 6cb27c0ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "@fal-ai/serverless-proxy",
"version": "0.7.0",
"version": "0.7.1",
"license": "MIT",
"repository": {
"type": "git",

View File

@ -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