@amanda-mitchell/biblia-api
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -9,3 +9,3 @@ "use strict"; | ||
const contentType = (response.headers.get('Content-Type') || '').split(';', 2)[0]; | ||
if (!expectedTypes.some(x => contentType === x)) { | ||
if (!expectedTypes.includes(contentType)) { | ||
throw new Error(`Unexpected response Content-Type: ${contentType}`); | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@amanda-mitchell/biblia-api", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "A Javascript wrapper for the Biblia API.", | ||
@@ -13,2 +13,3 @@ "main": "index.js", | ||
], | ||
"types": "dist/index.d.ts", | ||
"publishConfig": { | ||
@@ -15,0 +16,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
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
45786