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

apollo-client

Package Overview
Dependencies
Maintainers
2
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.3.16 to 0.3.17

4

index.d.ts

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

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