mock-apollo-client
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -1,2 +0,2 @@ | ||
import { ApolloLink, DocumentNode, Observable, Operation } from 'apollo-link'; | ||
import { ApolloLink, DocumentNode, Observable, Operation, FetchResult } from 'apollo-link'; | ||
import { RequestHandler } from './mockClient'; | ||
@@ -6,3 +6,5 @@ export declare class MockLink extends ApolloLink { | ||
setRequestHandler(requestQuery: DocumentNode, handler: RequestHandler): void; | ||
request(operation: Operation): Observable<{}>; | ||
request(operation: Operation): Observable<FetchResult<{ | ||
[key: string]: any; | ||
}, Record<string, any>, Record<string, any>>>; | ||
} |
{ | ||
"name": "mock-apollo-client", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Library to help unit testing when using apollo-client", | ||
@@ -32,14 +32,14 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/graphql": "^14.0.7", | ||
"@types/jest": "^24.0.9", | ||
"apollo-cache-inmemory": "^1.5.1", | ||
"apollo-client": "^2.5.1", | ||
"graphql": "^14.1.1", | ||
"@types/graphql": "^14.2.3", | ||
"@types/jest": "^24.0.17", | ||
"apollo-cache-inmemory": "^1.6.2", | ||
"apollo-client": "^2.6.3", | ||
"graphql": "^14.4.2", | ||
"graphql-tag": "^2.10.1", | ||
"jest": "^24.7.1", | ||
"jest": "^24.8.0", | ||
"ts-jest": "^24.0.2", | ||
"typescript": "^3.4.3" | ||
"typescript": "^3.5.3" | ||
}, | ||
"peerDependencies": { | ||
"apollo-client": "~2.5.0" | ||
"apollo-client": "~2.5.0 || ~2.6.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10975
119
0