Skip to content

Commit b89a114

Browse files
committed
fix: Fix compile error when used with @pact-foundation/pact version 9.15.0 and above
BREAKING CHANGE: Increased peerdeps for @pact-foundation/pact to 9.12.2 and above
1 parent dc23a09 commit b89a114

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"@commitlint/cli": "^10.0.0",
4343
"@commitlint/config-conventional": "^10.0.0",
44-
"@pact-foundation/pact": "9.8.0",
44+
"@pact-foundation/pact": "9.12.2",
4545
"@pact-foundation/pact-js-prettier-config": "^1.0.0",
4646
"@types/supertest": "2.0.8",
4747
"coveralls": "3.0.9",
@@ -61,7 +61,7 @@
6161
"typescript": "3.8.3"
6262
},
6363
"peerDependencies": {
64-
"@pact-foundation/pact": "^8.2.4 || ^9.0.1",
64+
"@pact-foundation/pact": "^9.12.2",
6565
"jest": "^24.0.0 || ^25.0.0 || ^26.0.0"
6666
},
6767
"dependencies": {

src/types.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { MessageConsumerPact, Pact } from '@pact-foundation/pact';
2-
import {
3-
MessageConsumerOptions,
4-
PactOptions,
5-
} from '@pact-foundation/pact/dsl/options';
2+
import { MessageConsumerOptions, PactOptions } from '@pact-foundation/pact';
63
import { WrapperWithOnlyAndSkip } from './internal/types';
74

85
interface ExtraOptions {

0 commit comments

Comments
 (0)