Skip to content

Commit

Permalink
fix: Fix compile error when used with @pact-foundation/pact version 9…
Browse files Browse the repository at this point in the history
….15.0 and above

BREAKING CHANGE: Increased peerdeps for @pact-foundation/pact to 9.12.2 and above
  • Loading branch information
TimothyJones committed May 8, 2021
1 parent dc23a09 commit b89a114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@commitlint/cli": "^10.0.0",
"@commitlint/config-conventional": "^10.0.0",
"@pact-foundation/pact": "9.8.0",
"@pact-foundation/pact": "9.12.2",
"@pact-foundation/pact-js-prettier-config": "^1.0.0",
"@types/supertest": "2.0.8",
"coveralls": "3.0.9",
Expand All @@ -61,7 +61,7 @@
"typescript": "3.8.3"
},
"peerDependencies": {
"@pact-foundation/pact": "^8.2.4 || ^9.0.1",
"@pact-foundation/pact": "^9.12.2",
"jest": "^24.0.0 || ^25.0.0 || ^26.0.0"
},
"dependencies": {
Expand Down
5 changes: 1 addition & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { MessageConsumerPact, Pact } from '@pact-foundation/pact';
import {
MessageConsumerOptions,
PactOptions,
} from '@pact-foundation/pact/dsl/options';
import { MessageConsumerOptions, PactOptions } from '@pact-foundation/pact';
import { WrapperWithOnlyAndSkip } from './internal/types';

interface ExtraOptions {
Expand Down

0 comments on commit b89a114

Please sign in to comment.