Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/client",
"description": "The fal.ai client for JavaScript and TypeScript",
"version": "1.9.2",
"version": "1.9.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion libs/client/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* The response handler to use for the client requests. By default it uses
* a built-in response handler that returns the JSON response.
*/
responseHandler?: ResponseHandler<any>;

Check warning on line 57 in libs/client/src/config.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type
/**
* The fetch implementation to use for the client requests. By default it uses
* the global `fetch` function.
Expand Down Expand Up @@ -151,5 +151,5 @@
* @returns the URL of the fal REST api endpoint.
*/
export function getRestApiUrl(): string {
return "https://rest.alpha.fal.ai";
return "https://rest.fal.ai";
}
2 changes: 1 addition & 1 deletion libs/proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fal-ai/server-proxy",
"description": "The fal.ai server proxy adapter for JavaScript and TypeScript Web frameworks",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion libs/proxy/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { singleHeaderValue } from "./utils";
/**
* The fal REST API URL used for storage operations.
*/
export const FAL_REST_API_URL = "rest.alpha.fal.ai";
export const FAL_REST_API_URL = "rest.fal.ai";

/**
* The default allowed URL patterns. Only `fal.run` and `queue.fal.run` are allowed by default.
Expand Down
2 changes: 1 addition & 1 deletion libs/proxy/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createUrlMatcher, DEFAULT_ALLOWED_URL_PATTERNS } from "./config";
import { getEndpoint, isAllowedEndpoint, isAllowedUrl } from "./index";

const FAL_REST_API_URL = "rest.alpha.fal.ai";
const FAL_REST_API_URL = "rest.fal.ai";

describe("createUrlMatcher", () => {
it("should match exact strings", () => {
Expand Down
Loading