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

apollo-link-batch

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-batch - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

CHANGELOG.md

@@ -5,4 +5,7 @@ # Change log

### 1.1.2
- Fix typing of Operation parameters [PR#525](https://github.com/apollographql/apollo-link/pull/525)
### 1.1.1
- udate apollo link with zen-observable-ts [PR#515](https://github.com/apollographql/apollo-link/pull/515)
- update apollo link with zen-observable-ts [PR#515](https://github.com/apollographql/apollo-link/pull/515)

@@ -9,0 +12,0 @@ ### 1.1.0

2

lib/batching.d.ts

@@ -21,3 +21,3 @@ import { Observable, Operation, NextLink, FetchResult } from 'apollo-link';

batchHandler: BatchHandler;
batchKey?: (Operation) => string;
batchKey?: (operation: Operation) => string;
});

@@ -24,0 +24,0 @@ enqueueRequest(request: BatchableRequest): Observable<FetchResult>;

@@ -9,3 +9,3 @@ import { ApolloLink, Operation, FetchResult, Observable, NextLink } from 'apollo-link';

batchHandler?: BatchHandler;
batchKey?: (Operation) => string;
batchKey?: (operation: Operation) => string;
}

@@ -12,0 +12,0 @@ }

{
"name": "apollo-link-batch",
"version": "1.1.1",
"version": "1.1.2",
"description": "Apollo Link that performs batching and operation on batched Operations",

@@ -5,0 +5,0 @@ "author": "Evans Hauser <evanshauser@gmail.com>",

@@ -34,3 +34,3 @@ import { Observable, Operation, NextLink, FetchResult } from 'apollo-link';

private batchHandler: BatchHandler;
private batchKey: (Operation) => string;
private batchKey: (operation: Operation) => string;

@@ -46,3 +46,3 @@ constructor({

batchHandler: BatchHandler;
batchKey?: (Operation) => string;
batchKey?: (operation: Operation) => string;
}) {

@@ -49,0 +49,0 @@ this.queuedRequests = new Map();

@@ -36,3 +36,3 @@ import {

*/
batchKey?: (Operation) => string;
batchKey?: (operation: Operation) => string;
}

@@ -39,0 +39,0 @@ }

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