apollo-client
Advanced tools
Comparing version 0.3.16 to 0.3.17
@@ -17,3 +17,4 @@ import { NetworkInterface, createNetworkInterface } from './networkInterface'; | ||
queryTransformer: QueryTransformer; | ||
constructor({networkInterface, reduxRootKey, initialState, dataIdFromObject, queryTransformer}?: { | ||
shouldBatch: boolean; | ||
constructor({networkInterface, reduxRootKey, initialState, dataIdFromObject, queryTransformer, shouldBatch}?: { | ||
networkInterface?: NetworkInterface; | ||
@@ -24,2 +25,3 @@ reduxRootKey?: string; | ||
queryTransformer?: QueryTransformer; | ||
shouldBatch?: boolean; | ||
}); | ||
@@ -26,0 +28,0 @@ watchQuery: (options: WatchQueryOptions) => ObservableQuery; |
@@ -15,3 +15,3 @@ "use strict"; | ||
var _this = this; | ||
var _b = _a === void 0 ? {} : _a, networkInterface = _b.networkInterface, reduxRootKey = _b.reduxRootKey, initialState = _b.initialState, dataIdFromObject = _b.dataIdFromObject, queryTransformer = _b.queryTransformer; | ||
var _b = _a === void 0 ? {} : _a, networkInterface = _b.networkInterface, reduxRootKey = _b.reduxRootKey, initialState = _b.initialState, dataIdFromObject = _b.dataIdFromObject, queryTransformer = _b.queryTransformer, _c = _b.shouldBatch, shouldBatch = _c === void 0 ? false : _c; | ||
this.watchQuery = function (options) { | ||
@@ -49,2 +49,3 @@ _this.initStore(); | ||
queryTransformer: _this.queryTransformer, | ||
shouldBatch: _this.shouldBatch, | ||
}); | ||
@@ -57,2 +58,3 @@ }; | ||
this.queryTransformer = queryTransformer; | ||
this.shouldBatch = shouldBatch; | ||
this.reducerConfig = { | ||
@@ -59,0 +61,0 @@ dataIdFromObject: dataIdFromObject, |
{ | ||
"name": "apollo-client", | ||
"version": "0.3.16", | ||
"version": "0.3.17", | ||
"description": "A simple yet functional GraphQL client.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
177069
2630