contentful
Advanced tools
Comparing version 11.4.0 to 11.4.1
@@ -40,3 +40,3 @@ import axios from 'axios'; | ||
const config = Object.assign(Object.assign({}, defaultConfig), params); | ||
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.4.0"}`, config.application, config.integration); | ||
const userAgentHeader = getUserAgentHeader(`contentful.js/${"11.4.1"}`, 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.0", | ||
version: "11.4.1", | ||
getSpace, | ||
@@ -374,0 +374,0 @@ getContentType, |
@@ -1,2 +0,2 @@ | ||
import { Link } from './link'; | ||
import { UnresolvedLink } from './link'; | ||
import { LocaleCode } from './locale'; | ||
@@ -20,4 +20,4 @@ type ISODateString = string; | ||
} | null; | ||
topConcepts: Link<'TaxonomyConcept'>[]; | ||
concepts: Link<'TaxonomyConcept'>[]; | ||
topConcepts: UnresolvedLink<'TaxonomyConcept'>[]; | ||
concepts: UnresolvedLink<'TaxonomyConcept'>[]; | ||
totalConcepts: number; | ||
@@ -24,0 +24,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Link } from './link'; | ||
import { UnresolvedLink } from './link'; | ||
import { LocaleCode } from './locale'; | ||
@@ -45,4 +45,4 @@ type ISODateString = string; | ||
notations?: string[]; | ||
broader?: Link<'TaxonomyConcept'>[]; | ||
related?: Link<'TaxonomyConcept'>[]; | ||
broader?: UnresolvedLink<'TaxonomyConcept'>[]; | ||
related?: UnresolvedLink<'TaxonomyConcept'>[]; | ||
} | ||
@@ -49,0 +49,0 @@ export type ConceptCollection<Locale extends LocaleCode> = { |
{ | ||
"name": "contentful", | ||
"description": "Client for Contentful's Content Delivery API", | ||
"version": "11.4.0", | ||
"version": "11.4.1", | ||
"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
1655601