diff --git a/src/v4/index.ts b/src/v4/index.ts index d8bd3715e..87ee74830 100644 --- a/src/v4/index.ts +++ b/src/v4/index.ts @@ -25,7 +25,7 @@ export class PactV4 implements V4ConsumerPact { this.pact = makeConsumerPact( this.opts.consumer, this.opts.provider, - this.opts.spec ?? SpecificationVersion.SPECIFICATION_VERSION_V3, + this.opts.spec ?? SpecificationVersion.SPECIFICATION_VERSION_V4, this.opts.logLevel ?? 'info' ); }