@metrevals/inspect-scout-viewer 0.2.3-beta.1763384043 → 0.2.3-beta.1763386330
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/lib/api/api-scout-server.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-scout-server.d.ts","sourceRoot":"","sources":["../../src/api/api-scout-server.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAG/C,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc,GACzB,UAAS;IACP,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChB,KACL,
|
|
1
|
+
{"version":3,"file":"api-scout-server.d.ts","sourceRoot":"","sources":["../../src/api/api-scout-server.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAG/C,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc,GACzB,UAAS;IACP,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChB,KACL,OAgCF,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -26923,7 +26923,7 @@ const useServerScannerDataframe = () => {
|
|
|
26923
26923
|
setLoadingData(true);
|
|
26924
26924
|
try {
|
|
26925
26925
|
let location = scanPath;
|
|
26926
|
-
if (
|
|
26926
|
+
if (resultsDir) {
|
|
26927
26927
|
location = join(scanPath, resultsDir);
|
|
26928
26928
|
}
|
|
26929
26929
|
const arrayBuffer = await api.getScannerDataframe(
|
|
@@ -113936,7 +113936,7 @@ const apiScoutServer = (options = {}) => {
|
|
|
113936
113936
|
getScan: async (scanLocation) => {
|
|
113937
113937
|
let query2 = `/scan/${encodeURIComponent(scanLocation)}`;
|
|
113938
113938
|
if (resultsDir) {
|
|
113939
|
-
query2 +=
|
|
113939
|
+
query2 += `?results_dir=${encodeURIComponent(resultsDir)}`;
|
|
113940
113940
|
}
|
|
113941
113941
|
return (await requestApi.fetchType("GET", query2)).parsed;
|
|
113942
113942
|
},
|