chore: release client 0.8.2 (#43)
* chore: client release 0.8.2 * fix: domain check on proxy
This commit is contained in:
parent
07f1b125f7
commit
6cb27c0ca5
@ -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:
|
3. Retrieve your function id and execute it:
|
||||||
```ts
|
```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.
|
The result's type is contingent upon your Python function's output. Types in Python are mapped to their corresponding types in JavaScript.
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# Rename this file to .env.local and add your fal credentials
|
# Rename this file to .env.local and add your fal credentials
|
||||||
# Visit https://fal.ai to get started
|
# Visit https://fal.ai to get started
|
||||||
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET";
|
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# Rename this file to .env.local and add your fal credentials
|
# Rename this file to .env.local and add your fal credentials
|
||||||
# Visit https://fal.ai to get started
|
# Visit https://fal.ai to get started
|
||||||
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET";
|
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# Rename this file to .env.local and add your fal credentials
|
# Rename this file to .env.local and add your fal credentials
|
||||||
# Visit https://fal.ai to get started
|
# Visit https://fal.ai to get started
|
||||||
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET";
|
FAL_KEY="FAL_KEY_ID:FAL_KEY_SECRET"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@fal-ai/serverless-client",
|
"name": "@fal-ai/serverless-client",
|
||||||
"description": "The fal serverless JS/TS client",
|
"description": "The fal serverless JS/TS client",
|
||||||
"version": "0.8.0",
|
"version": "0.8.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fal-ai/serverless-proxy",
|
"name": "@fal-ai/serverless-proxy",
|
||||||
"version": "0.7.0",
|
"version": "0.7.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const FAL_KEY_SECRET =
|
|||||||
|
|
||||||
export type HeaderValue = string | string[] | undefined | null;
|
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
|
* The proxy behavior that is passed to the proxy handler. This is a subset of
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user