@gradio/utils
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @gradio/utils | ||
## 0.4.1 | ||
### Fixes | ||
- [#8179](https://github.com/gradio-app/gradio/pull/8179) [`6a218b4`](https://github.com/gradio-app/gradio/commit/6a218b4148095aaa0c58d8c20973ba01c8764fc2) - rework upload to be a class method + pass client into each component. Thanks @pngwn! | ||
## 0.4.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@gradio/utils", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Gradio UI packages", | ||
@@ -5,0 +5,0 @@ "type": "module", |
import type { ActionReturn } from "svelte/action"; | ||
import type { Client } from "@gradio/client"; | ||
export interface SelectData { | ||
@@ -184,2 +185,3 @@ index: number | [number, number]; | ||
max_file_size: number | null; | ||
client: Client; | ||
@@ -194,3 +196,4 @@ constructor( | ||
max_file_size: number | null, | ||
i18n: I18nFormatter = (x: string): string => x | ||
i18n: I18nFormatter = (x: string): string => x, | ||
client: Client | ||
) { | ||
@@ -206,2 +209,3 @@ this.#id = id; | ||
this.autoscroll = autoscroll; | ||
this.client = client; | ||
} | ||
@@ -208,0 +212,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23340
193