@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.cjs CHANGED
@@ -19676,7 +19676,7 @@ const interactionV4 = (i) => ({
19676
19676
  const ajv = new Ajv$1();
19677
19677
  const validate = ajv.compile(Pact);
19678
19678
  const parse = (pact) => {
19679
- const { metadata, interactions } = pact;
19679
+ const { metadata, interactions = [] } = pact;
19680
19680
  const isValid = validate({
19681
19681
  metadata,
19682
19682
  interactions: interactions.filter(supportedInteractions),