@sciol/xyzen 0.4.2 → 0.4.3

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.
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import { d as s } from "./chunk-3JLSSUO4-lw6nI4d-.js";
3
+ export {
4
+ s as rasterize
5
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import { m as t } from "./chunk-EBDTZNMR-DwW3TAhG.js";
3
+ export {
4
+ t as toBlob
5
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import { W as o } from "./chunk-NM4NY5FQ-WpZvY9qj.js";
3
+ export {
4
+ o as toCanvas
5
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { d as g } from "./chunk-3JLSSUO4-Amct4bnM.js";
3
- import { l as p } from "./index-BX3tjgcN.js";
2
+ import { d as g } from "./chunk-3JLSSUO4-lw6nI4d-.js";
3
+ import { l as p } from "./index-DG6w-EXf.js";
4
4
  async function x(i, o) {
5
5
  let { scale: s = 1, width: n, height: l, meta: e = {} } = o, d = Number.isFinite(n), m = Number.isFinite(l), u = Number.isFinite(s) && s !== 1 || d || m;
6
6
  if (p() && u) return await g(i, { ...o, format: "png", quality: 1, meta: e });
@@ -90,6 +90,7 @@ export interface LlmProvider {
90
90
  is_default: boolean;
91
91
  is_system: boolean;
92
92
  user_id: string;
93
+ provider_config?: Record<string, unknown>;
93
94
  }
94
95
  export interface LlmProviderCreate {
95
96
  scope?: ProviderScope;
@@ -103,6 +104,7 @@ export interface LlmProviderCreate {
103
104
  timeout?: number;
104
105
  user_id: string;
105
106
  is_default?: boolean;
107
+ provider_config?: Record<string, unknown>;
106
108
  }
107
109
  export interface LlmProviderUpdate {
108
110
  name?: string;
@@ -114,6 +116,7 @@ export interface LlmProviderUpdate {
114
116
  temperature?: number;
115
117
  timeout?: number;
116
118
  is_default?: boolean;
119
+ provider_config?: Record<string, unknown>;
117
120
  }
118
121
  export type LlmProviderResponse = LlmProvider;
119
122
  export interface SetDefaultProviderRequest {