@probelabs/probe 0.6.0-rc149 → 0.6.0-rc151
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/build/agent/ProbeAgent.js +2 -2
- package/build/agent/index.js +6928 -246
- package/build/agent/schemaUtils.js +211 -3
- package/cjs/agent/ProbeAgent.cjs +7222 -540
- package/cjs/index.cjs +7222 -540
- package/package.json +4 -3
- package/src/agent/ProbeAgent.js +2 -2
- package/src/agent/schemaUtils.js +211 -3
|
@@ -1831,7 +1831,7 @@ Convert your previous response content into actual JSON data that follows this s
|
|
|
1831
1831
|
});
|
|
1832
1832
|
}
|
|
1833
1833
|
|
|
1834
|
-
let validation = validateJsonResponse(finalResult, { debug: this.debug });
|
|
1834
|
+
let validation = validateJsonResponse(finalResult, { debug: this.debug, schema: options.schema });
|
|
1835
1835
|
let retryCount = 0;
|
|
1836
1836
|
const maxRetries = 3;
|
|
1837
1837
|
|
|
@@ -1882,7 +1882,7 @@ Convert your previous response content into actual JSON data that follows this s
|
|
|
1882
1882
|
);
|
|
1883
1883
|
|
|
1884
1884
|
// Validate the corrected response
|
|
1885
|
-
currentValidation = validateJsonResponse(currentResult, { debug: this.debug });
|
|
1885
|
+
currentValidation = validateJsonResponse(currentResult, { debug: this.debug, schema: options.schema });
|
|
1886
1886
|
retryCount++;
|
|
1887
1887
|
|
|
1888
1888
|
if (this.debug) {
|