apollo-link-dedup
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -0,5 +1,8 @@ | ||
# Change log | ||
### vNext | ||
### 1.0.6 | ||
- ApolloLink upgrade | ||
### 1.0.5 | ||
@@ -6,0 +9,0 @@ - ApolloLink upgrade |
@@ -1,2 +0,1 @@ | ||
/// <reference types="zen-observable" /> | ||
import { ApolloLink, Operation, NextLink, FetchResult, Observable } from 'apollo-link'; | ||
@@ -3,0 +2,0 @@ export declare class DedupLink extends ApolloLink { |
{ | ||
"name": "apollo-link-dedup", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Deduplicates queries that are currently on the wire", | ||
@@ -26,4 +26,3 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"scripts": { | ||
"build:browser": | ||
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser", | ||
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser", | ||
"build": "tsc -p .", | ||
@@ -34,6 +33,4 @@ "bundle": "rollup -c", | ||
"filesize": "npm run build && npm run build:browser", | ||
"lint": | ||
"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts", | ||
"minify:browser": | ||
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"lint": "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts", | ||
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"postbuild": "npm run bundle", | ||
@@ -46,17 +43,17 @@ "prebuild": "npm run clean", | ||
"dependencies": { | ||
"apollo-link": "^1.1.0" | ||
"apollo-link": "^1.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/graphql": "0.12.3", | ||
"@types/graphql": "0.12.4", | ||
"@types/jest": "21.1.10", | ||
"browserify": "14.5.0", | ||
"graphql": "0.13.0", | ||
"browserify": "16.1.0", | ||
"graphql": "0.13.1", | ||
"graphql-tag": "2.7.3", | ||
"jest": "21.2.1", | ||
"rimraf": "2.6.1", | ||
"rollup": "0.55.3", | ||
"rollup": "0.56.2", | ||
"ts-jest": "21.2.4", | ||
"tslint": "5.9.1", | ||
"typescript": "2.7.1", | ||
"uglify-js": "3.3.9" | ||
"typescript": "2.7.2", | ||
"uglify-js": "3.3.11" | ||
}, | ||
@@ -68,4 +65,10 @@ "jest": { | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": ["ts", "tsx", "js", "json"] | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"json" | ||
], | ||
"mapCoverage": true | ||
} | ||
} |
@@ -23,3 +23,3 @@ --- | ||
## Context | ||
The Dedup Link can be overriden by using the context on a per opearation basis: | ||
The Dedup Link can be overridden by using the context on a per operation basis: | ||
- `forceFetch`: a true or false (defaults to false) to bypass deduplication per request | ||
@@ -45,3 +45,1 @@ | ||
``` | ||
Sorry, the diff of this file is not supported yet
49858
27
763
44
Updatedapollo-link@^1.2.0