@adcp/sdk 13.0.3 → 13.0.4

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.
@@ -247,10 +247,7 @@ function validateResponseSchema(validation, ctx, taskResult) {
247
247
  const computedStrict = computeStrictVerdict(taskName, dataWithoutMessage, ctx.adcpVersion, ctx.responseAdcpVersion);
248
248
  const strict = computedStrict ? { ...computedStrict, lenient_valid: parseResult?.success ?? null } : void 0;
249
249
  const externalSchemaIsAuthoritative = isExternalResponseSchemaAuthoritative(ctx);
250
- if (externalSchemaIsAuthoritative) {
251
- if (!strict) {
252
- return noResponseSchemaResult(validation, taskName, schema_id, schema_url);
253
- }
250
+ if (externalSchemaIsAuthoritative && strict) {
254
251
  if (strict.valid) {
255
252
  const base = {
256
253
  check: "response_schema",