apollo-link-batch
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -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 |
@@ -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
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
101695