apollo-client
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -55,3 +55,3 @@ "use strict"; | ||
var _this = this; | ||
var query = _a.query, variables = _a.variables, _b = _a.forceFetch, forceFetch = _b === void 0 ? false : _b, _c = _a.returnPartialData, returnPartialData = _c === void 0 ? false : _c; | ||
var query = _a.query, variables = _a.variables, _b = _a.forceFetch, forceFetch = _b === void 0 ? true : _b, _c = _a.returnPartialData, returnPartialData = _c === void 0 ? false : _c; | ||
var queryId = this.idCounter.toString(); | ||
@@ -58,0 +58,0 @@ this.idCounter++; |
{ | ||
"name": "apollo-client", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A simple yet functional GraphQL client.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/src/index.js", |
@@ -58,2 +58,3 @@ import { | ||
public query(options: WatchQueryOptions): Promise<GraphQLResult | Error> { | ||
if (options.returnPartialData) { | ||
@@ -60,0 +61,0 @@ throw new Error('returnPartialData option only supported on watchQuery.'); |
@@ -122,3 +122,3 @@ import { | ||
variables, | ||
forceFetch = false, | ||
forceFetch = true, | ||
returnPartialData = false, | ||
@@ -125,0 +125,0 @@ }: WatchQueryOptions): WatchedQueryHandle { |
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