hubkit
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "hubkit", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/pkaminski/hubkit", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -155,3 +155,4 @@ if (typeof require !== 'undefined') { | ||
if (value === undefined) { | ||
if (error.originalMessage === 'socket hang up') { | ||
if (error.originalMessage === 'socket hang up' || | ||
error.originalMessage === 'Unexpected end of input') { | ||
value = Hubkit.RETRY; | ||
@@ -158,0 +159,0 @@ options.agent = false; |
{ | ||
"name": "hubkit", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
25808
414