Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-upload-client

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-upload-client - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

7

changelog.md
# apollo-upload-client changelog
## 6.0.3
* Response is set on the context, via [#40](https://github.com/jaydenseric/apollo-upload-client/pull/40).
* Configured `lint-staged` for `.mjs`.
## 6.0.2

@@ -20,3 +25,3 @@

* Readme API documentation fixes:
* Corrected React Native example code import via [#39](https://github.com/jaydenseric/apollo-upload-client/pull/39).
* Corrected React Native example code import, via [#39](https://github.com/jaydenseric/apollo-upload-client/pull/39).
* Updated `createUploadLink` options.

@@ -23,0 +28,0 @@

@@ -40,3 +40,4 @@ 'use strict'

extensions = _ref2.extensions,
getContext = _ref2.getContext
getContext = _ref2.getContext,
setContext = _ref2.setContext
return new _apolloLink.Observable(function(observer) {

@@ -96,2 +97,5 @@ var requestOperation = {

.then(function(response) {
setContext({
response: response
})
if (!response.ok)

@@ -98,0 +102,0 @@ throw new Error(

4

package.json
{
"name": "apollo-upload-client",
"version": "6.0.2",
"version": "6.0.3",
"description": "Enhances Apollo Client for intuitive file uploads via GraphQL mutations.",

@@ -66,3 +66,3 @@ "license": "MIT",

"lint-staged": {
"*.js": "eslint"
"*.mjs": "eslint"
},

@@ -69,0 +69,0 @@ "eslintIgnore": [

@@ -1,2 +0,2 @@

![Apollo upload logo](https://cdn.rawgit.com/jaydenseric/apollo-upload-client/v6.0.2/apollo-upload-logo.svg)
![Apollo upload logo](https://cdn.rawgit.com/jaydenseric/apollo-upload-client/v6.0.3/apollo-upload-logo.svg)

@@ -3,0 +3,0 @@ # apollo-upload-client

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc