Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-client

Package Overview
Dependencies
Maintainers
1
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-client - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/src/QueryManager.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc