@mooretodd/services
Advanced tools
Comparing version 0.1.5 to 2.0.0
@@ -6,2 +6,2 @@ import {getSurveys, getSurveyResult} from './Services'; | ||
getSurveyResult | ||
}; | ||
}; |
{ | ||
"name": "@mooretodd/services", | ||
"version": "0.1.5", | ||
"version": "2.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,4 +10,5 @@ import 'whatwg-fetch'; | ||
headers: { | ||
'x-api-key' : config.key | ||
}}); | ||
'x-api-key': config.key | ||
} | ||
}); | ||
@@ -22,2 +23,2 @@ | ||
fetch(`${baseURIString(config)}/survey_results/${id}.json`, generateHeader(config)) | ||
.then(res => res.json()); | ||
.then(res => res.json()); |
@@ -20,4 +20,4 @@ import expect from 'expect'; | ||
}).then(res => { | ||
expect(res).toEqual(baseSurveyResponse); | ||
}) | ||
expect(res).toEqual(baseSurveyResponse); | ||
}); | ||
}); | ||
@@ -38,3 +38,3 @@ | ||
}); | ||
}) | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8781
303
1