@usethrottle/api-client 5.29.1 → 5.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1088,7 +1088,7 @@ export declare class ExtensionsService {
1088
1088
  }>;
1089
1089
  /**
1090
1090
  * Upload an extension icon (multipart/form-data, field: file).
1091
- * Accepts PNG, JPEG, WebP or SVG up to 2 MB and returns the public `iconUrl` to set on the extension. Any credential holding `extensions:write` may call it: a secret API key or a dashboard session.
1091
+ * Accepts PNG, JPEG, WebP or SVG up to 2 MB (an SVG is sanitised and can be at most 20 KB; one that cannot be made safe is refused with 422 `invalid_svg`) and returns the public `iconUrl` to set on the extension. Any credential holding `extensions:write` may call it: a secret API key or a dashboard session.
1092
1092
  * @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
1093
1093
  * @returns any Default Response
1094
1094
  * @throws ApiError
@@ -735,7 +735,7 @@ export class ExtensionsService {
735
735
  }
736
736
  /**
737
737
  * Upload an extension icon (multipart/form-data, field: file).
738
- * Accepts PNG, JPEG, WebP or SVG up to 2 MB and returns the public `iconUrl` to set on the extension. Any credential holding `extensions:write` may call it: a secret API key or a dashboard session.
738
+ * Accepts PNG, JPEG, WebP or SVG up to 2 MB (an SVG is sanitised and can be at most 20 KB; one that cannot be made safe is refused with 422 `invalid_svg`) and returns the public `iconUrl` to set on the extension. Any credential holding `extensions:write` may call it: a secret API key or a dashboard session.
739
739
  * @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
740
740
  * @returns any Default Response
741
741
  * @throws ApiError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usethrottle/api-client",
3
- "version": "5.29.1",
3
+ "version": "5.29.2",
4
4
  "description": "Typed REST client for the Throttle API (auto-generated from OpenAPI 3.1)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",