{"name":"apollo-link-dedup","version":"0.0.0-alpha.0","description":"Deduplicates queries that are currently on the wire","author":{"name":"Evans Hauser","email":"evanshauser@gmail.com"},"contributors":[{"name":"James Baxley","email":"james@meteor.com"},{"name":"Jonas Helfer","email":"jonas@helfer.email"},{"name":"jon wong","email":"j@jnwng.com"},{"name":"Sashko Stubailo","email":"sashko@stubailo.com"}],"license":"MIT","main":"./lib/bundle.umd.js","module":"./lib/index.js","jsnext:main":"./lib/index.js","typings":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-link.git"},"bugs":{"url":"https://github.com/apollographql/apollo-link/issues"},"homepage":"https://github.com/apollographql/apollo-link#readme","scripts":{"build:browser":"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser","build":"tsc -p .","bundle":"rollup -c","clean":"rimraf lib/* && rimraf coverage/*","coverage":"jest --coverage","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","postbuild":"npm run bundle","prebuild":"npm run clean","prepublishOnly":"npm run clean && npm run build","test":"jest","watch":"tsc -w -p . & rollup -c -w"},"dependencies":{"apollo-link":"^1.2.2"},"devDependencies":{"@types/graphql":"0.12.6","@types/jest":"22.2.3","browserify":"16.2.2","graphql":"0.13.2","graphql-tag":"2.9.2","jest":"22.4.4","rimraf":"2.6.1","rollup":"0.62.0","ts-jest":"22.4.6","tslint":"5.11.0","typescript":"2.9.2","uglify-js":"3.4.5"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","json"],"mapCoverage":true},"readme":"---\r\ntitle: apollo-link-dedup\r\ndescription: Deduplicate matching requests before making a request\r\n---\r\n\r\n*NOTE* This link is included by default when using apollo-client so you don't need to add it to your link chain if using apollo-client.\r\n\r\n## Installation\r\n\r\n`npm install apollo-link-dedup --save`\r\n\r\n## Usage\r\n```js\r\nimport { DedupLink } from \"apollo-link-dedup\";\r\n\r\nconst link = new DedupLink();\r\n```\r\n\r\n## Options\r\nThe Dedup Link does not take any options when creating the link.\r\n\r\n## Context\r\nThe Dedup Link can be overridden by using the context on a per operation basis:\r\n- `forceFetch`: a true or false (defaults to false) to bypass deduplication per request\r\n\r\n```js\r\nimport Link from \"apollo-link-http\";\r\nimport ApolloClient from \"apollo-client\";\r\nimport InMemoryCache from \"apollo-cache-inmemory\";\r\n\r\nconst client = new ApolloClient({\r\n  link: new Link({ uri: \"/graphql\" }),\r\n  cache: new InMemoryCache()\r\n});\r\n\r\n// a query with apollo-client that will not be deduped\r\nclient.query({\r\n  query: MY_QUERY,\r\n  context: {\r\n    forceFetch: true\r\n  }\r\n})\r\n```\r\n","readmeFilename":"README.md","_id":"apollo-link-dedup@0.0.0-alpha.0","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"dist":{"integrity":"sha512-+9/92ypAqo3JqeAr7CHdvD84yDS59HDUwURHPRl9A+fpCiR4VNENpU4vsVzCv6zbvRWUZaE9j4li4K8+UtcuHA==","shasum":"dcd581853e4f0c18a6a9c8dc4c4ebcb3c67b4258","tarball":"http://registry-npm.ywwl.com/apollo-link-dedup/download/apollo-link-dedup-0.0.0-alpha.0.tgz","fileCount":21,"unpackedSize":37677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTjqCCRA9TVsSAnZWagAAO6AP/iv/wNwITCxZ/ioaA0ro\nfc/C+iss101hXhYSrUpIxr6JA9hQV6XIZwI2PE8Dbq4lk4v9BEDgd3RoTOkD\nSybAdW9o8AcPBRnEd9SHaIwj6rCJ43rn2XH5SiFOGxW29AOgmr2bURQ83lZC\ndoEpsS4o3gNZCx7ssTTcrrLLJAUPpRaC1NyIWtIeO65CyGxs/lxlMnqPRtDb\nibQ8cmStZHM3dHWtOOYWmOFPV7stcgQBZRMjLe9QEMeoQSHe7hEdRIKh5H8T\nCEOMhPonz1Y3v4ZRSMNBtjHMswiJ7rXOY8m8U2SOXBYrGkOv5/rVTtBrT2U9\nvhTizAQRld0Nz3jKKfbNRbiLF5lEWQGLwNuekccNIQE5dino96LtjlBGMGlS\nUS0KDankZG5u0zTxblZ+C9sx+u4lhpt+T9MruRQtmtMC5Gj4QtaxKUIHS0Xk\nZtTGghmNrjsnzfBzZMB/8M/QPSVTvtaEuqKO+CqohhunG65UTXTYtZxOM8cw\nRg/O+bBONJsqtQOQEc8R6OA2XIHrFyBy6+c6Gu8GRaq0gHY8GcXsT9+M8C1R\nqemQPB/5neUEzAPYGusYTqFqKdIPvw59J7kW44g6uCM2FRjtwVVHDlzgX31V\nwSCG7yvcxIOOSXj5cJ1vFMur6oGHSC3lpRhyUtWMkOlx7nxd9VeunX3KWgcG\nzSb/\r\n=bH7n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKwA+DLZMEO5gSiNfPNnfueUUR4v01TPS05khrC0dESAiAegvwtnDXjK/KneEyMt3efWf2jRTPYyUJjzhu17geWPA=="}],"size":8917,"noattachment":false,"key":"/apollo-link-dedup/-/apollo-link-dedup-0.0.0-alpha.0.tgz"},"maintainers":[{"name":"evanshauser","email":"evanshauser@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-link-dedup_0.0.0-alpha.0_1531853442588_0.1166416200985756"},"_hasShrinkwrap":false,"publish_time":1531853442677,"_cnpm_publish_time":1531853442677,"dist-tags":{"alpha":"1.1.0-alpha.5","beta":"0.4.1-beta.6","latest":"1.0.21"}}