@graphitation/apollo-mock-client
Advanced tools
Comparing version 0.11.0 to 0.11.1
# Change Log - @graphitation/apollo-mock-client | ||
This log was last generated on Thu, 20 Apr 2023 14:11:50 GMT and should not be manually modified. | ||
This log was last generated on Tue, 20 Jun 2023 12:24:01 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.11.1 | ||
Tue, 20 Jun 2023 12:24:01 GMT | ||
### Patches | ||
- Pin apollo to TMP version (mnovikov@microsoft.com) | ||
## 0.11.0 | ||
Thu, 20 Apr 2023 14:11:50 GMT | ||
Thu, 20 Apr 2023 14:11:58 GMT | ||
@@ -11,0 +19,0 @@ ### Minor changes |
@@ -13,3 +13,3 @@ import { ApolloClient } from "@apollo/client"; | ||
} | ||
declare type OperationMockResolver<Schema = GraphQLSchema, Node = DocumentNode> = (operation: OperationDescriptor<Schema, Node>) => ExecutionResult | Error | undefined | null; | ||
type OperationMockResolver<Schema = GraphQLSchema, Node = DocumentNode> = (operation: OperationDescriptor<Schema, Node>) => ExecutionResult | Error | undefined | null; | ||
export interface MockFunctions<Schema = GraphQLSchema, Node = DocumentNode> { | ||
@@ -16,0 +16,0 @@ /** |
@@ -222,5 +222,6 @@ "use strict"; | ||
new import_client.ApolloClient({ | ||
cache: new import_client.InMemoryCache(__spreadProps(__spreadValues({}, options == null ? void 0 : options.cache), { | ||
possibleTypes, | ||
cache: new import_client.InMemoryCache(__spreadProps(__spreadValues({ | ||
addTypename: true | ||
}, options == null ? void 0 : options.cache), { | ||
possibleTypes | ||
})), | ||
@@ -227,0 +228,0 @@ link |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"repository": { | ||
@@ -21,3 +21,3 @@ "type": "git", | ||
"devDependencies": { | ||
"@apollo/client": "^3.3.15", | ||
"@apollo/client": ">= ^3.3.0 < 3.7.0", | ||
"@graphitation/graphql-js-tag": "^0.9.0", | ||
@@ -35,3 +35,3 @@ "@graphitation/graphql-js-operation-payload-generator": "^0.12.2", | ||
"peerDependencies": { | ||
"@apollo/client": "^3.3.0", | ||
"@apollo/client": ">= ^3.3.0 < 3.7.0", | ||
"graphql": "^15.0.0" | ||
@@ -38,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
62021
10
549