apollo-link-batch
Advanced tools
Comparing version 1.1.3 to 1.1.4
# Change log | ||
### vNext | ||
### 1.1.4 | ||
- Added `graphql` 14 to peer and dev deps; Updated `@types/graphql` to 14 <br/> | ||
[@hwillson](http://github.com/hwillson) in [#789](https://github.com/apollographql/apollo-link/pull/789) | ||
@@ -5,0 +7,0 @@ ### 1.1.3 |
@@ -17,3 +17,3 @@ import { Observable, Operation, NextLink, FetchResult } from 'apollo-link'; | ||
private batchKey; | ||
constructor({batchInterval, batchMax, batchHandler, batchKey}: { | ||
constructor({ batchInterval, batchMax, batchHandler, batchKey, }: { | ||
batchInterval: number; | ||
@@ -26,3 +26,3 @@ batchMax?: number; | ||
consumeQueue(key?: string): (Observable<FetchResult> | undefined)[] | undefined; | ||
private scheduleQueueConsumption(key?); | ||
private scheduleQueueConsumption; | ||
} |
@@ -1,8 +0,11 @@ | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -9,0 +12,0 @@ import { Observable } from 'apollo-link'; |
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
} | ||
return function (d, b) { | ||
@@ -6,0 +9,0 @@ extendStatics(d, b); |
@@ -7,9 +7,12 @@ (function (global, factory) { | ||
var __assign = (undefined && undefined.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (undefined && undefined.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -138,5 +141,8 @@ // QueryBatcher doesn't fire requests immediately. Requests that were enqueued within | ||
var __extends = (undefined && undefined.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
@@ -143,0 +149,0 @@ extendStatics(d, b); |
{ | ||
"name": "apollo-link-batch", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Apollo Link that performs batching and operation on batched Operations", | ||
@@ -41,19 +41,19 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"dependencies": { | ||
"apollo-link": "^1.2.2" | ||
"apollo-link": "^1.2.3" | ||
}, | ||
"devDependencies": { | ||
"@types/graphql": "0.12.6", | ||
"@types/jest": "22.2.2", | ||
"browserify": "16.1.1", | ||
"fetch-mock": "6.0.0", | ||
"graphql": "0.13.2", | ||
"graphql-tag": "2.8.0", | ||
"jest": "22.4.3", | ||
"@types/graphql": "14.0.0", | ||
"@types/jest": "22.2.3", | ||
"browserify": "16.2.2", | ||
"fetch-mock": "6.5.2", | ||
"graphql": "14.0.2", | ||
"graphql-tag": "2.9.2", | ||
"jest": "22.4.4", | ||
"proxyquire": "1.8.0", | ||
"rimraf": "2.6.1", | ||
"rollup": "0.57.1", | ||
"ts-jest": "21.2.4", | ||
"tslint": "5.9.1", | ||
"typescript": "2.7.2", | ||
"uglify-js": "3.3.16" | ||
"rollup": "0.65.2", | ||
"ts-jest": "22.4.6", | ||
"tslint": "5.11.0", | ||
"typescript": "3.0.3", | ||
"uglify-js": "3.4.9" | ||
}, | ||
@@ -71,4 +71,5 @@ "jest": { | ||
], | ||
"mapCoverage": true | ||
"mapCoverage": true, | ||
"testURL": "http://localhost" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
67454
20
1311
Updatedapollo-link@^1.2.3