@everworker/oneringai 0.1.4 → 0.2.0
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.
- package/README.md +16 -4
- package/dist/{ImageModel-qNJHPh4q.d.ts → IProvider-DcYJ3YE-.d.ts} +15 -328
- package/dist/{ImageModel-DSY7SNsq.d.cts → IProvider-c4QCbPjn.d.cts} +15 -328
- package/dist/ImageModel-BJ2mVPGV.d.ts +337 -0
- package/dist/ImageModel-BWN6VVS6.d.cts +337 -0
- package/dist/capabilities/agents/index.d.cts +3 -2
- package/dist/capabilities/agents/index.d.ts +3 -2
- package/dist/capabilities/images/index.cjs +8 -1
- package/dist/capabilities/images/index.cjs.map +1 -1
- package/dist/capabilities/images/index.d.cts +2 -2
- package/dist/capabilities/images/index.d.ts +2 -2
- package/dist/capabilities/images/index.js +8 -1
- package/dist/capabilities/images/index.js.map +1 -1
- package/dist/{index-CEp1H4fV.d.ts → index-B5UaeEvK.d.ts} +9 -6
- package/dist/{index-NOV01LWF.d.cts → index-MJ14lkui.d.cts} +9 -6
- package/dist/index.cjs +610 -768
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +156 -85
- package/dist/index.d.ts +156 -85
- package/dist/index.js +610 -768
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/dist/IProvider-BP49c93d.d.cts +0 -22
- package/dist/IProvider-BP49c93d.d.ts +0 -22
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { o as ImageEditOptions, n as ImageGenerateOptions, b as ImageGeneration, c as ImageGenerationCreateOptions, q as ImageResponse, p as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-BWN6VVS6.cjs';
|
|
2
|
+
import '../../IProvider-c4QCbPjn.cjs';
|
|
2
3
|
import '../../Vendor-DYh_bzwo.cjs';
|
|
3
|
-
import '../../IProvider-BP49c93d.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { o as ImageEditOptions, n as ImageGenerateOptions, b as ImageGeneration, c as ImageGenerationCreateOptions, q as ImageResponse, p as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-BJ2mVPGV.js';
|
|
2
|
+
import '../../IProvider-DcYJ3YE-.js';
|
|
2
3
|
import '../../Vendor-DYh_bzwo.js';
|
|
3
|
-
import '../../IProvider-BP49c93d.js';
|
|
@@ -1806,7 +1806,14 @@ var Connector = class _Connector {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
const startTime = Date.now();
|
|
1808
1808
|
this.requestCount++;
|
|
1809
|
-
|
|
1809
|
+
let url;
|
|
1810
|
+
if (endpoint.startsWith("http")) {
|
|
1811
|
+
url = endpoint;
|
|
1812
|
+
} else {
|
|
1813
|
+
const base = (this.baseURL ?? "").replace(/\/+$/, "");
|
|
1814
|
+
const path2 = endpoint.startsWith("/") ? endpoint : `/${endpoint}`;
|
|
1815
|
+
url = `${base}${path2}`;
|
|
1816
|
+
}
|
|
1810
1817
|
const timeout = options?.timeout ?? this.config.timeout ?? DEFAULT_CONNECTOR_TIMEOUT;
|
|
1811
1818
|
if (this.config.logging?.enabled) {
|
|
1812
1819
|
this.logRequest(url, options);
|