{"_id":"@dailydrip/apollo-absinthe-upload-link","_rev":"2-0af66b0f9dda5d097143283aba5c8c78","name":"@dailydrip/apollo-absinthe-upload-link","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@dailydrip/apollo-absinthe-upload-link","version":"1.0.3","description":"A network interface for Apollo that enables file-uploading to Absinthe back ends.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/bytewitchcraft/apollo-absinthe-upload-link.git"},"author":{"name":"Ihor Katkov"},"license":"MIT","scripts":{"test":"jest","compile":"yarn rimraf lib/* && yarn babel src -d lib","prepublish":"npm run compile"},"dependencies":{"apollo-client":"^2.0.4","apollo-link":"^1.0.7","apollo-link-http":"^1.3.2","graphql":"0.11.3","ramda":"^0.25.0","rxjs":"5.4.3"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^8.2.1","babel-jest":"^22.2.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","eslint":"^4.14.0","eslint-plugin-prettier":"^2.4.0","jest":"^22.2.1","prettier":"1.9.2","regenerator-runtime":"^0.11.1","rimraf":"^2.6.2"},"gitHead":"d4445aeaed5d5aaae2853f31d785e5c9d5007b28","bugs":{"url":"https://github.com/bytewitchcraft/apollo-absinthe-upload-link/issues"},"homepage":"https://github.com/bytewitchcraft/apollo-absinthe-upload-link#readme","_id":"@dailydrip/apollo-absinthe-upload-link@1.0.3","_shasum":"db24fd5cb4cc71b3d1ea7f49e017c1e6e52c6d0a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"knewter","email":"josh.rubyist@gmail.com"},"dist":{"shasum":"db24fd5cb4cc71b3d1ea7f49e017c1e6e52c6d0a","tarball":"https://registry.npmjs.org/@dailydrip/apollo-absinthe-upload-link/-/apollo-absinthe-upload-link-1.0.3.tgz","fileCount":6,"unpackedSize":8665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9I8rCRA9TVsSAnZWagAAu3EQAJ9K9mh6TRhe6FyyBV0c\nNNM3S05d/bwQMGPLea+TJao8Pck9EeyWnJIkZAy9wZGrJrsaSMsN+frdKE5Y\n+JHvJpo7bNzrow3Egwe6ZcZ2oQi062ToORvaskMkl6f8fg1CmNZqT5Uh7NY6\ndSOCTO0wFUe7e3AL6sbgEdFXaNDGvxML3BiWQlDz9Al2a971nXHzameo7CLP\nzBC/IEGzo442JfkNFMHM7lOY8UXuEpCx4qRZJpEJUOCDpQyYc1/35kMIVftn\nBoHCIIfebC9NJLko/wCsy2DwGKnp/SLVKlV4KSwK/ImDGDClI4+8TlAyACj0\nb7vPqkxUv6EEOFhw1FVLEi2UCd3iv2+MYZ5FJxQc20ksevBG6xZPlm74heh0\n/EQ0LJRhj0m6bEC1Bkjy9lYtpUm+I87/I0DJU5slrBaDL+9r5L5E/pxROSsG\ntkmQPpTP+vUkibjPzBKUQQaZjbvjHP8BISWJRsp5FzVTIKTVhCk61V2SZQhN\n46q4T5Tc1GHoVRJcUcgJMxp1EykNg7OZ8FSq9MleDx5SwWU5r1EyH0r46+pb\nmxUKbZvJ7gi3Epp+JBpdJka9BzZcH73Ta5xaVGKejWDlQWwmdoiJG+e19EUC\nh7n0LdcY5xvQIGoyA5oZbdVJoNIYWc2aPVmMfCin0KzPdvULdSHOK5JlB9bw\nRfd1\r\n=pEL2\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-fIqQf4VS1yViAoI61OuZCz1+x7LaMx/Y2FRQ/RSfMGt++FnHRpm6EVvdq8OYo9W4TudFSPqYa9XOSA7G8RPzdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjGN5vvsHIsKNTTGSEcJnU9cTm1lfMH5uPa4EwZfNfNAIgXLkBD28p90BBh66Lvq5Aa0U9TnNnOcg18jb8jFGFmJ8="}]},"maintainers":[{"name":"dailydripdevs","email":"devs@dailydrip.com"},{"name":"franzejr","email":"franzejr@gmail.com"},{"name":"knewter","email":"josh.rubyist@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-absinthe-upload-link_1.0.3_1525976874350_0.38719389281637207"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-10T18:27:54.294Z","1.0.3":"2018-05-10T18:27:54.412Z","modified":"2022-06-12T16:51:33.341Z"},"maintainers":[{"name":"dailydripdevs","email":"devs@dailydrip.com"},{"name":"franzejr","email":"franzejr@gmail.com"},{"name":"knewter","email":"josh.rubyist@gmail.com"}],"description":"A network interface for Apollo that enables file-uploading to Absinthe back ends.","homepage":"https://github.com/bytewitchcraft/apollo-absinthe-upload-link#readme","repository":{"type":"git","url":"git+https://github.com/bytewitchcraft/apollo-absinthe-upload-link.git"},"author":{"name":"Ihor Katkov"},"bugs":{"url":"https://github.com/bytewitchcraft/apollo-absinthe-upload-link/issues"},"license":"MIT","readme":"[![Build Status](https://semaphoreci.com/api/v1/ihorkatkov/apollo-absinthe-upload-link/branches/master/badge.svg)](https://semaphoreci.com/ihorkatkov/apollo-absinthe-upload-link)\n\n# Apollo-Absinthe-Upload-Link\n\nA network interface for Apollo that enables file-uploading to Absinthe back\nends.\n\n## Usage\n\nInstall via yarn or npm and then use `createLink` from the package\nin the construction of your `ApolloClient`-instance.\n\n```js\nimport ApolloClient from \"apollo-client\";\nimport { createLink } from \"apollo-absinthe-upload-link\";\n\nconst client = new ApolloClient({\n    link: createLink({\n        uri: \"/graphql\"\n    })\n});\n```\n\n### Custom headers\n\nCustom headers can be passed through options of the link. \n\n```js\nimport ApolloClient from \"apollo-client\";\nimport { createLink } from \"apollo-absinthe-upload-link\";\n\nconst headers = { authorization: 1234 } \nconst client = new ApolloClient({\n    link: createLink({\n        uri: \"/graphql\"\n    }),\n    headers,\n});\n```\n\n\n### Usage with React Native\n\nNot tested. Contributing is welcome.\n\n## License\n\nMIT (see LICENSE)\n\n## Acknowledgements\n\n* @labtwentyfive's [`apollo-absinthe-upload-client`](https://github.com/labtwentyfive/apollo-absinthe-upload-client)\n","readmeFilename":"README.md"}