contentful
Advanced tools
Comparing version 11.4.1 to 11.4.2
@@ -40,3 +40,3 @@ import axios from 'axios'; | ||
const config = Object.assign(Object.assign({}, defaultConfig), params); | ||
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.4.1"}`, config.application, config.integration); | ||
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.4.2"}`, config.application, config.integration); | ||
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader }); | ||
@@ -43,0 +43,0 @@ const http = createHttpClient(axios, config); |
@@ -371,3 +371,3 @@ import { encodeCPAResponse } from '@contentful/content-source-maps'; | ||
return { | ||
version: "11.4.1", | ||
version: "11.4.2", | ||
getSpace, | ||
@@ -374,0 +374,0 @@ getContentType, |
{ | ||
"name": "contentful", | ||
"description": "Client for Contentful's Content Delivery API", | ||
"version": "11.4.1", | ||
"version": "11.4.2", | ||
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/", | ||
@@ -6,0 +6,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet