@pactflow/openapi-pact-comparator 1.12.1 → 1.13.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/dist/index.mjs CHANGED
@@ -19674,7 +19674,7 @@ const interactionV4 = (i) => ({
19674
19674
  const ajv = new Ajv$1();
19675
19675
  const validate = ajv.compile(Pact);
19676
19676
  const parse = (pact) => {
19677
- const { metadata, interactions } = pact;
19677
+ const { metadata, interactions = [] } = pact;
19678
19678
  const isValid = validate({
19679
19679
  metadata,
19680
19680
  interactions: interactions.filter(supportedInteractions),