@adminforth/agent 1.26.12 → 1.26.13
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/apiBasedTools.ts +1 -1
- package/build.log +1 -1
- package/dist/apiBasedTools.js +2 -2
- package/package.json +1 -1
package/apiBasedTools.ts
CHANGED
|
@@ -619,7 +619,7 @@ function getRequestOrigin(httpExtra?: Partial<HttpExtra>) {
|
|
|
619
619
|
return undefined;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
const protocol =
|
|
622
|
+
const protocol = DEFAULT_REQUEST_PROTOCOL;
|
|
623
623
|
return `${protocol}://${host}`;
|
|
624
624
|
}
|
|
625
625
|
|
package/build.log
CHANGED
|
@@ -38,5 +38,5 @@ custom/skills/fetch_data/SKILL.md
|
|
|
38
38
|
custom/skills/mutate_data/
|
|
39
39
|
custom/skills/mutate_data/SKILL.md
|
|
40
40
|
|
|
41
|
-
sent 207,
|
|
41
|
+
sent 207,920 bytes received 562 bytes 416,964.00 bytes/sec
|
|
42
42
|
total size is 205,644 speedup is 0.99
|
package/dist/apiBasedTools.js
CHANGED
|
@@ -414,7 +414,7 @@ function isAbsoluteHttpUrl(value) {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
function getRequestOrigin(httpExtra) {
|
|
417
|
-
var _a
|
|
417
|
+
var _a;
|
|
418
418
|
const requestUrl = httpExtra === null || httpExtra === void 0 ? void 0 : httpExtra.requestUrl;
|
|
419
419
|
if (requestUrl && isAbsoluteHttpUrl(requestUrl)) {
|
|
420
420
|
return new URL(requestUrl).origin;
|
|
@@ -423,7 +423,7 @@ function getRequestOrigin(httpExtra) {
|
|
|
423
423
|
if (!host) {
|
|
424
424
|
return undefined;
|
|
425
425
|
}
|
|
426
|
-
const protocol =
|
|
426
|
+
const protocol = DEFAULT_REQUEST_PROTOCOL;
|
|
427
427
|
return `${protocol}://${host}`;
|
|
428
428
|
}
|
|
429
429
|
function resolveOpenApiRequestUrl(params) {
|