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.0-beta.2 to 6.0.0-beta.3

5

changelog.md
# apollo-upload-client change log
## 6.0.0-beta.3
* Corrected network error handling, fixing
[#38](https://github.com/jaydenseric/apollo-upload-client/issues/38).
## 6.0.0-beta.2

@@ -4,0 +9,0 @@

14

lib/main/index.js

@@ -92,9 +92,5 @@ 'use strict'

.then(function(response) {
return response.json().then(function(result) {
if (!response.ok)
throw new Error(
'Error ' + response.status + ': ' + response.statusText + '.'
)
return result
})
if (!response.ok)
throw new Error(response.status + ' (' + response.statusText + ')')
return response.json()
})

@@ -105,3 +101,5 @@ .then(function(result) {

})
.catch(observer.error)
.catch(function(error) {
return observer.error(error)
})
})

@@ -108,0 +106,0 @@ })

{
"name": "apollo-upload-client",
"version": "6.0.0-beta.2",
"version": "6.0.0-beta.3",
"description": "Enhances Apollo Client for intuitive file uploads via GraphQL mutations.",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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